cc.Class({
    extends: cc.Component,
    properties: {
        spStatus: {
            default: null,
            type: cc.Sprite
        }
    },
    onLoad: function () {
    },
    start: function () {
    },
    bindData: function (e) {
        1 == e && Global.spriteAtlas.setSpriteFrame(this.spStatus, "Texture/table", "GR_Result_kjzy"),
        2 == e && Global.spriteAtlas.setSpriteFrame(this.spStatus, "Texture/table", "GR_Result_whp"),
        3 == e && Global.spriteAtlas.setSpriteFrame(this.spStatus, "Texture/table", "GR_Result_wtp"),
        4 == e && Global.spriteAtlas.setSpriteFrame(this.spStatus, "Texture/table", "YXZ_19"),
        5 == e && Global.spriteAtlas.setSpriteFrame(this.spStatus, "Texture/table", "YXZ_20"),
        6 == e && Global.spriteAtlas.setSpriteFrame(this.spStatus, "Texture/table", "YXZ_23"),
        7 == e && Global.spriteAtlas.setSpriteFrame(this.spStatus, "Texture/table", "GR_Result_rs"),
        8 == e && Global.spriteAtlas.setSpriteFrame(this.spStatus, "Texture/table", "GR_waiting_czz");
    }
})
